package com.nbcio.modules.erp.voucher.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 科目配置实体（单据类型到科目的映射）
 */
@Data
@TableName("erp_account_config")
public class ErpAccountConfig {
    @TableId
    private Long configId;
    private String billType; // PO_IN/SO_OUT
    private String entryType; // STOCK/PAYABLE/RECEIVABLE/REVENUE/COST/TAX_IN/TAX_OUT
    private Long accountId;
    private String dcFlag; // DEBIT/CREDIT
    private Integer priority;
    private Integer status;
    private String remark;
    private LocalDateTime createTime;
    private LocalDateTime updateTime;
}

